<template>
  <div>
    我的页面
    <button @click="login">退出登录</button>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
    login() {
      localStorage.removeItem("token");
    },
  },
};
</script>

<style lang="less" scoped></style>
